package com.pxmeta.party.entity.vo;

import com.pxmeta.party.entity.Association;
import com.pxmeta.user.entity.User;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

@EqualsAndHashCode(callSuper = true)
@Data
public class AssociationDetailVO extends Association {
    @ApiModelProperty(value = "公会会长")
    private User presidentUser;

    @ApiModelProperty(value = "是否是会长")
    private Boolean isPresident = Boolean.FALSE;

    @ApiModelProperty(value = "是否是管理")
    private Boolean isAdmin = Boolean.FALSE;

    @ApiModelProperty(value = "申请状态: -1 未加入，0审核中，1已加入。")
    private Integer applyStatus;

    @ApiModelProperty(value = "总收益")
    private BigDecimal totalEarnings;

    @ApiModelProperty(value = "本周收益")
    private BigDecimal weekEarnings;

}
